package com.example.callmanagerandroid;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class MyBroadCastReceiver extends BroadcastReceiver {

	static CustomPhoneStateListener phoneStateListener;
	Context context;
	Intent intent;

	@Override
	public void onReceive(Context context, Intent intent) {
		this.context = context;
		this.intent = intent;
		intent = new Intent(context, Myservice.class);
		context.startService(intent);
		Log.w("","Sended broadcast");
	}
}
